package com.noob.design.simplefactory;

public class AnimalsClient {

    public static void main(String[] args) {
        Animals cat = AnimalsFactory.createAnimals("cat");
        assert cat != null;
        cat.voice();
    }
}
